/*
 * @Author: Bo Cai
 * @Mail: caibo0520@qq.com
 * @Date: 2021-11-20 14:39:30
 * @LastEditors: Bo Cai
 * @LastEditTime: 2021-12-05 10:16:32
 */
import request from '@/utils/request'

export default {
  //根据邮箱发送验证码邮件
  sendVerificationCode(mailUrl) {
    return request({
      url: `/mail-service/mail/send-verification-code/${mailUrl}`,
      method: 'get'
    })
  },
  //用户注册
  submitRegister(formItem) {
    return request({
      url: `/ucenter-service/member/register`,
      method: 'post',
      data: formItem
    })
  }
}
